package com.group01.community.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.group01.community.entity.ZyRoom;
import com.baomidou.mybatisplus.extension.service.IService;
import com.group01.community.entity.vo.ZyRoomVo;

/**
 * <p>
 * 房间  服务类
 * </p>
 *
 * @author iuoly
 * @since 2022-07-04
 */
public interface ZyRoomService extends IService<ZyRoom> {

    /**
     * 分页获取房屋信息
     * @param curr 当前页
     * @param size 页长
     * @return
     */
    IPage<ZyRoomVo> getRoomPage(int curr, int size, ZyRoom zyRoom);
}
